define(function(require, exports, module)
{
    window.GLOBAL = window.G =
    {
    };
    GLOBAL.HTML_HOME = "/business/html/";
    GLOBAL.HBASE = "/base/product/filelist/";
    GLOBAL.GETPIC = "/base/product/getfile/";
    GLOBAL.URL =
    {
        GETUSER : "/menu/getUser.do", // 查询用户,    //////////lxf

        GETWAREHOUSE : "/base/warehouse/queryall/", // 仓库维护列表
        SAVEORUPDATEWAREHOUSE : "/base/warehouse/saveorupdate.do", // 仓库维护保存
        DELETEWAREHOUSE : "/base/warehouse/delete.do", // 仓库维护保存
        GETSTORETREE : "/base/channelmaintain/querychanneltree.do", // 获得商家树
        GETPRODUCTRECORDNUM : "/base/product/queryrecordnum.do", // 商品搜索结果记录数
        GETPRODUCTRECORD : "/base/product/queryrecord.do", // 商品搜索结果记录
      
        SHOPCART_ADD : "/scm/shopcart", //添加到购物车
        SHOPCATE_UPDATE : "/scm/shopcart", //修改购物车
        SHOPCATE_DELETE : "/scm/shopcart", // 删除购物车
        
        ONHAND_GETGOODSTOUPS : "/scm/onhand/getgoodstoups/users/", //获取期初库存维护列表
        ONHAND_UPDATEALL : "/scm/onhand/updateall.do", //批量修改期初库存
        ONHAND_GETCURGOODS : "/scm/onhand/getcurgoods/users/", //获取现存量

        FVPRODUCT_ADD : "/favorite/fvproduct/insert.do", //添加到收藏夹
        FVPRODUCT_DELETE : "/favorite/fvproduct/delete/", //删除收藏
        FVPRODUCT_GETCOUNT : "/favorite/fvproduct/getfvproductcount/users/", //获取收藏夹数量
        FVPRODUCT_GETALL : "/favorite/fvproduct/getfvproductall/users/", //查询收藏夹

        ADMIN_GETCARRIERS : "/pubbase/carrier/getcarriers.do",  //获取企业列表
        ADMIN_GETCARRIER : "/pubbase/carrier/getcarrier/",           //获得指定企业
        ADMIN_GETCARRIEROPTIONS : "/condition/getCompanyName.do",  //获取企业列表下拉框
        ADMIN_SAVECARRIER : "/pubbase/carrier/saveorupdate.do",      //添加企业
        ADMIN_UPDCARRIER : "/pubbase/carrier/updcarrier/",           //修改企业
        ADMIN_DOWNLOAD : "/pubbase/carrier/download/carrier/",    //导出
        ADMIN_GETCARRIERSADMINS : "/pubbase/carrier/getcarrieradmins/",  //获取企业管理员列表
        ADMIN_SAVEORUPDCARRIERADMIN : "/pubbase/user/saveorupdcaradmin/",  //修改企业管理员
        ADMIN_REVERTPASSWORD : "/pubbase/user/revertpassword/",    //重置企业管理员密码
        ADMIN_DELCARRIERADMIN : "/pubbase/user/deletecaradmin/",  //删除企业管理员
        ADMIN_GETLICENSECARRIERLIST : "/pubbase/licensecarrier/getlislist/carrier/",  //获取企业license维护列表
        ADMIN_INSERTLICENSECARRIER : "/pubbase/licensecarrier/insert.do",  //添加企业license列表
        ADMIN_RETURNLICENSECARRIER : "/pubbase/licensecarrier/return.do",  //退订企业license
        ADMIN_GETLICENSECARRIER : "/pubbase/licensecarrier/liscarrier/",  //获取单个企业license
        ADMIN_GETRETLICENSECARRIERS : "/pubbase/licensecarrier/getlist/retcarlic/",  // 企业退订列表
        ADMIN_LICENSEAUDITING : "/pubbase/licensecarrier/auditing/",
        ADMIN_GETLICENSERETCARRIERLIST : "/pubbase/licensecarrier/getlist/",  // 企业退订列表
        ADMIN_LICENSERETAUDITING : "/pubbase/licensecarrier/returnauditing/", //退订审批
        ADMIN_GETCARRIERAUDITING : "/pubbase/carrier/getcarrierauditing", //企业审批列表
        ADMIN_GETCARRIERSNAME : "/pubbase/carrier/getcarriersname",	//根据名字获取企业列表
        ADMIN_CARRIERAUDITING : "/pubbase/carrier/carrierauditing/",	//企业审批
        ADMIN_GETCARRIERSTATUS : "/pubbase/carrier/carrierstatus",
        
        ADMIN_SAVELICENSESTORE : "/pubbase/licensestore/saveorupdate/",  //修改商家license
        ADMIN_GETLICENSESTORES : "/pubbase/licensestore/getlicensestores/",  //获取商家license列表
        ADMIN_GETSTORELICENSES : "/pubbase/licensestore/queryallbycarid/",  //获取商家列表，带license
        
        ADMIN_GETISVS : "/pubbase/isv/getisvs.do",  //获取ISV列表
        ADMIN_GETISV : "/pubbase/isv/getisv/",           //获得指定ISV
        ADMIN_ISV_SAVEORUPDATE : "/pubbase/isv/saveorupdate.do",      //添加或更新ISV
        ADMIN_ISV_UPDATE_STATUS : "/pubbase/isv/updatestatus/",           //修改ISV
        ADMIN_GETISVOPTIONS : "/pubbase/isv/getisvoptions/",  //获取ISV列表下拉框
        
        ADMIN_GETISVADMINS:"/pubbase/isv/getisvadmins/",       //获取ISV管理员
        ADMIN_ISVADMIN_SAVEORUPDATE : "/pubbase/user/saveorupdisvadmin/",  //修改ISV管理员
        ADMIN_ISVADMIN_DELETE : "/pubbase/user/deleteisvadmin/",  //删除ISV管理员

        MENU_GETMENUBEAN : "/menu/getMenu.do",  // 查询用户所属菜单   
        MENU_ROOTMENUS : "/busrbac/menu/getroots.do",  //获取根级菜单
        MENU_GETMENUS : "/busrbac/menu/getmenus.do",  //获取菜单
        MENU_INSERT : "/busrbac/menu/saveorupdate.do",  //修改菜单
        MENU_DELETE : "/busrbac/menu/delete/",  //删除菜单
        
        GETUSERINFOBYID : "/pubbase/user/getuser/userid/", // 查询用户,

        GETALLUSER : "/pubbase/user/queryall.do", //查询所有用户
        INSERTROLEOFUSER : "/busrbac/role/insertAllUserRole/", //插入为用户授权的角色
        INSERTUSEROFROLE : "/busrbac/role/insertAllRoleUser/",//插入为角色分配的用户
        GETROLEOFUSER : "/busrbac/role/queryRoleByUserid.do", //获得用户关联的角色
        GETMUTISELOPTIONS : "/busrbac/role/getmutiseloptions/", //查询所有角色
        INSERTFUNCOFROLE : "/busrbac/role/insertAllRoleFunction/", //插入为角色授权的功能
        GETFUNCOFROLE : "/busrbac/role/queryFunctionByRoleId.do", //     获得角色关联的功能
        INSERTROLE : "/busrbac/role/insert.do", //插入角色
        UPDATEROLE : "/busrbac/role/update.do", //更新角色
        GETALLROLE : "/busrbac/role/getAllRole",
        GETALLROLES : "/busrbac/role/getAllRoles",
        ROLEDELETE : "/busrbac/role/delete.do",
        ISEXISTROLE : "/busrbac/role/isExist/",
        INSERTROLEMENU : "/busrbac/role/insertRoleMenu/",
        INSERTADMINUSER : "/busrbac/user/insertAdminUser",
        UPDATEADMINUSER : "/busrbac/user/update/",
        REVERTPASSWORD : "/busrbac/user/revertpassword/",
        ISEXISTUSER : "/busrbac/user/isExist/",
        INSERTUSER : "/pubbase/user/insert.do", //插入用户
        UPDATEUSER : "/pubbase/user/update/", //更新用户
        DELETEFUNC : "/busrbac/role/deleteRolefunction.do", //删除角色关联的功能
        GETROLEBYID : "/busrbac/role/queryById.do", //通过id查询角色
        GETFUNBYROLEID : "/busrbac/role/queryFunctionByRoleId.do", //根据角色id查询关联功能
        DELETEROLE : "/busrbac/role/delete.do", //删除角色
        GETALLFUNC : "/busrbac/func/queryall.do", //获得所有功能
        DELETEUSERROLE : "/busrbac/role/deleteUserrole.do", //删除userrole关联表里的关联信息
        GETUSERBYID : "/pubbase/user/queryById.do", //根据用户id获得用户信息
        //GETROLEBYUSERID : "/rbac/user/queryRoleByUserId.do", //	获得用户关联的角色
        PLAYORSTOPUSER : "/pubbase/user/playorstopuser/", //启用/停用用户
        GETROLEFORAUTHOR : "/busrbac/role/queryRoleByForAuthor",  //根据创建人获得角色
        GETSTORE : "/pubbase/store/querystoreoptionbycarrierid/",   //获得商家
        GETFUNC : "/busrbac/func/queryall.do", //获得所有功能
        GETUSERBYUSER:"/pubbase/user/queryByuser",//根据登录用户的信息返回可见用户列表
        GETROLEBYCARRIERID:"/busrbac/role/getRoleByCarrierId",//查找指定企业的角色列表
        UPDATEPWD:"/pubbase/user/updatepwd.do",//修改密码
        GETMULSELFUNCS:"/busrbac/role/getmutiselfuncoptions/",//查询要授权的功能
        GETUSERBYROLEID:"/busrbac/role/queryUserByRoleid.do",//根据角色id获得关联用户
        GETMULSELUSERS:"/busrbac/role/getmutiselusers",//查询要分配角色的用户
        GETALLAPPLYTYPE:"/pubbase/applytype/queryall.do",//获得所有应用类别
        GETALLAPPLYTREE:"/pubbase/applytype/getApplyCT.do",//获得应用树数据
        INSERTAPPLYTYPE:"/pubbase/applytype/insert.do",//插入应用类别
        DELETEAPPLYTYPE:"/pubbase/applytype/delete/",//删除应用类别
        UPDATEAPPLYTYPE:"/pubbase/applytype/update/",//修改应用类别
        GETALLAPPLY:"/pubbase/apply/queryall.do",//获得所有应用
        INSERTAPPLY:"/pubbase/apply/insert.do",//插入应用
        DELETEAPPLY:"/pubbase/apply/delete/",//删除应用
        UPDATEAPPLY:"/pubbase/apply/update/",//修改应用
        GETAPPLYTYPELIST:"/pubbase/applytype/getApplyType.do",//获得应用分类下拉列表
        GETAPPLYOPTIONLIST:"/pubbase/apply/getApplyOption.do",//获得应用下拉列表
        GETAPPLYOPTIONLIST_BYTYPEANDISV:"/pubbase/apply/getApplyOptionBytypeAndISV.do",//根据应用类型，应用所属isv获取应用列表
        GETAPPLYPRICE:"/pubbase/apply/getApplyPrice.do",//获得应用单价
        GETPAGEAPPLYUSER:"/pubbase/applyuser/getPageApplyUser.do",//分页获取用户应用
        UPDAPPLYUSERSTATUS:"/pubbase/applyuser/updApplyUser/",//
        GETSUBCOMPANYLIST:"/pubbase/subcompany/querySubCompany.do",//获得分公司下拉列表
        GETALLCOMPANY:"/pubbase/subcompany/queryall.do",//获得所有公司信息
        INSERTCOMPANY:"/pubbase/subcompany/insert.do",//插入公司信息
        DELETECOMPANY:"/pubbase/subcompany/delete/",//删除公司信息
        UPDATECOMPANY:"/pubbase/subcompany/update/",//修改公司信息
        GETREGIONLIST:"/pubbase/region/queryRegByUpid",//获得所有省份 下拉列表
        UPDATACARRIERINFO : "/pubbase/carrierinfo/update.do",//企业管理员修改企业信息        
        GETALLISVTREE:"/pubbase/isv/getIsvTree.do",//获得ISV应用树数据
        GETSITEOPTION:"/pubbase/apply/getSiteOption.do",//获得ISV应用树数据
        
    };
});
